Skip to content

block: Make WBT latency writes honor enable state#979

Open
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1114268=>linus-master
Open

block: Make WBT latency writes honor enable state#979
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1114268=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Jun 21, 2026

Copy link
Copy Markdown

Pull request for series with
subject: block: Make WBT latency writes honor enable state
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1114268

@blktests-ci

blktests-ci Bot commented Jun 21, 2026

Copy link
Copy Markdown
Author

Upstream branch: 66affa3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1114268
version: 1

queue/wbt_lat_usec controls both the stored WBT latency target and the
effective WBT enable state.

The old no-op check skipped updates whenever the converted latency
matched the stored min_lat_nsec. That check ignored whether the current
WBT state already matched the state requested by the write. For a queue
disabled by default, attempting to enable WBT by writing the default
value through sysfs could return success while the enable state was left
unchanged.

Treat a write as a no-op only when both the stored latency and the
effective WBT enabled state already match the converted value.

Signed-off-by: Guzebing <guzebing1612@gmail.com>
@blktests-ci

blktests-ci Bot commented Jun 24, 2026

Copy link
Copy Markdown
Author

Upstream branch: bade58e
series: https://patchwork.kernel.org/project/linux-block/list/?series=1114268
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1114268=>linus-master branch from 6ea50bf to 61fc5d9 Compare June 24, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant